package com.zh.domain.dto.user;

import com.zh.common.PageRequest;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户查询请求
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(value = "UserQueryRequest",description = "用户查询请求")
public class UserQueryRequest extends PageRequest implements Serializable {
    /**
     * id
     */
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "用户昵称")
    private String nickname;
    @ApiModelProperty(value = "用户类型")
    private String type;
    @ApiModelProperty(value = "角色列表")
    private List<String> roles;
    @ApiModelProperty(value = "状态")
    private Integer status;
    private static final long serialVersionUID = 1L;
}